Mihai Ion
  • Home
  • Research
  • Teaching
  • CV
  1. FIN 421
  2. Lectures
  3. L12: CAPM
  • Teaching
  • FIN 525
    • Lectures
      • L00: Jupyter basics
      • L01: Introduction
      • L02: Variables, types, operators
      • L03: Data structures
      • L04: Conditionals, loops
      • L05: Functions, packages
      • L06: Pandas intro
      • L07: Pandas I/O
      • L08: Pandas filtering
      • L09: Pandas data cleaning
      • L10: Merging, reshaping datasets
      • L11: Dates, lags, sorting
      • L12: Descriptive stats
      • L13: Conditional stats, outliers
      • L14: Conditional stats applied
      • L15: Linear regression intro
      • L16: Linear regression applications
      • L17: Panel regression intro
      • L18: Robust panel regression
      • L19: Robust timeseries regression
      • L20: Backtesting - data prep
      • L21: Backtesting - sumstats
      • L22: Backtesting -returns
      • L23: Backtesting - risk adjustment
  • FIN 421
    • Lectures
      • L01: Introduction
      • L02: Analyzing past returns
      • L03: Modeling future returns
      • L04: Portfolio theory intro
      • L05: Optimal capital allocation
      • L06: Tangency portfolios
      • L07_08: Optimal asset allocation
      • L09: Review
      • L10_11: Statistical models of returns
      • L12: CAPM
      • L13: Cost of equity
      • L14: Bond pricing
      • L15: Bond yields
      • L16: Bond risk
      • L17: Valuation data processing
      • L18_19: Multiples valuation
      • L20_21: Dividend discount models
      • L22_23: Discounted cash flow analysis
      • L24: Valuation sensitivity analysis
      • L25: Options intro
      • L26: Risk management with options

On this page

  • The capital asset pricing model (CAPM)
    • CAPM assumptions
    • CAPM predictions
    • The Security Market Line (SML)
    • Application
  • Portfolio betas
  • Adjusted betas
  • Application
  • Stability of alphas and betas over time

L12: CAPM

The capital asset pricing model (CAPM)

CAPM assumptions

  • Markets are perfectly competitive

    • No investor is wealthy enough to individually affect prices
    • All information is publicly available; all securities are public
    • No taxes on returns, no transaction costs
    • Unlimited borrowing/lending at risk-free rate
  • Investors are all alike except for initial wealth and risk aversion

    • Investors plan for a single-period horizon; they are rational, mean-variance optimizers
    • Investors use the same inputs, consider identical portfolio opportunity sets

CAPM predictions

  • The risk premium on individual assets is proportional to the risk premium on the market:

\[E[R_{i}] = R_{f} + \beta_i (E[R_{m}] - R_{f}) \]

  • The market portfolio is the optimal risky portfolio (the tangency portfolio) in the economy

  • All investors choose to hold a combination of the risk-free asset and the market portfolio (in different proportions, given by the investor’s risk aversion)

The Security Market Line (SML)

If the CAPM assumptions hold, plotting all securities’ risk premia (\(E[R_{i}] - R_{f}\)) against their betas (\(\beta_i\)) results in a single line called the Security Market Line (SML).

Application

The “data.xlsx” file from D2L contains adjusted close prices for the past 10 years for the following tickers: ‘AAPL’, ‘GE’, ‘F’, ‘GM’, ‘NFLX’, ‘MSFT’, ‘GS’, ‘JPM’, ‘AMD’, ‘NVDA’.

For all stocks:

  • Calculate monthly returns
  • Calculate market betas (use the SLOPE function in Excel)
  • Calculate average returns
  • Plot average returns (y axis) against betas (x axis)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#

Portfolio betas

The beta of portfolio of assets is a weighted average of the betas of the individual assets in the portfolio:

\[\beta_p = w_i \beta_1 + w_2 \beta_2 + ... + w_N \beta_N\]

Remember, the market portfolio has a beta of 1 and the risk free asset has a beta of 0.

Adjusted betas

Betas tend to revert to the mean (high betas tend to go down and low betas tend to go up). When predicting betas, we take this tendency into account by calculating adjusted betas. These are weighted averages of the estimated beta and the mean (which is 1):

\[\beta_i^{adj} = \beta_i \times 2/3 + 1/3\]

Other weights can be used but 2/3 is a very common one.

Application

Using the same data as in the previous application:

  • Calculate the beta of a portfolio that invests 8% in each of the 10 stocks in your portfolio, 10% in the market portfolio and 10% in the risk-free asset.
  • Calculate adjusted betas for all 10 stocks
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#

Stability of alphas and betas over time

In this section we investigate the extent to which alpha and beta coefficients change over time.

Using the same data as in the previous applications, for each stock:

  1. Calculate the beta coefficient using the first half of the sample
  2. Calculate the beta coefficient using the second half of the sample
  3. Calculate the correlation between the betas in the first half and the betas in the second half
  4. Repeat the entire exercise for alpha coefficients (use the INTERCEPT function in Excel to calculate alphas)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#